package cc.risingsun.wing.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cc.risingsun.wing.core.generator.NoSQLGenerator;

/**
 * nosql access 
 * @author iron.yin@gmail.com
 * @sina 2012-8-30
 */
@WingType(NoSQLGenerator.class)
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NoSQLAccessInterface {
	Schema value() default Schema.HBase;
	public static enum Schema{
		HBase,MongoDB;
	}
}
